package com.cn.mmd.mapper;

import com.cn.mmd.model.CourseStuAttendance;
import com.cn.mmd.model.CourseStuAttendanceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CourseStuAttendanceMapper {
    int countByExample(CourseStuAttendanceExample example);

    int deleteByExample(CourseStuAttendanceExample example);

    int deleteByPrimaryKey(Integer attendanceid);

    int insert(CourseStuAttendance record);

    int insertSelective(CourseStuAttendance record);

    List<CourseStuAttendance> selectByExample(CourseStuAttendanceExample example);

    CourseStuAttendance selectByPrimaryKey(Integer attendanceid);

    int updateByExampleSelective(@Param("record") CourseStuAttendance record, @Param("example") CourseStuAttendanceExample example);

    int updateByExample(@Param("record") CourseStuAttendance record, @Param("example") CourseStuAttendanceExample example);

    int updateByPrimaryKeySelective(CourseStuAttendance record);

    int updateByPrimaryKey(CourseStuAttendance record);

    CourseStuAttendance selectByCouIdStuId(CourseStuAttendance courseStuAttendance);

    int countByCouIdStuId(CourseStuAttendance courseStuAttendance);

    List<CourseStuAttendance>selectByCouId(CourseStuAttendance courseStuAttendance);

    int countLimitNum(CourseStuAttendance courseStuAttendance);

    int countLimitNumCou(CourseStuAttendance courseStuAttendance);

    int countLimitNumCouA(CourseStuAttendance courseStuAttendance);

    int countLimitNumStu(CourseStuAttendance courseStuAttendance);

    int countLimitNumStuA(CourseStuAttendance courseStuAttendance);

    int countLimitNumZ();

    int countLimitNumZBy(CourseStuAttendance courseStuAttendance);
}